<template>
<div>
  <h1>组件的注册</h1>
   <Son :name="name"></Son>
</div>

</template>

<script>
import Son from './Son'
export default {
 components: {
   Son
 },
 data() {
   return {
     name:'zs'
   }
 }
}
</script>

<style>

</style>